Skip to content

Conversation

@BaeZzi813
Copy link
Contributor

feat: 프레임 컴포넌트 구현 #1

📝 작업 개요 (필수)

✨ 작업 내용 (필수)

  • 기능 구현
  • 버그 수정
  • 스타일/UI 변경
  • 리팩토링
  • 최적화/성능개선
  • 문서 업데이트
  • 기타 변경사항

📸 스크린샷

🧐 해결해야 하는 문제

🤔 리뷰어 확인 필요 사항

🔗 관련 이슈

🛠️ 후속 작업

  • 공통 컴포넌트라 title / content / buttonText 프롭스로 내려줬고, address 프롭스로 페이지 주소로 갈 수 있게 해놨는데, 추후 페이지작업하면서 변경 가능성 有

✅ 체크리스트 (필수)

  • 작업한 내용과 커밋 메시지 컨벤션을 통일했는지 확인
  • 내가 작성한 코드를 테스트까지 완료했는지 잘 작동했는지 확인
  • ESLint 검사 통과
  • Prettier 포맷팅 적용
  • TypeScript 에러 없음
  • 빌드 에러 없음

@vercel
Copy link

vercel bot commented Sep 29, 2025

@BaeZzi813 is attempting to deploy a commit to the projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Sep 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
thejulge Ready Ready Preview Comment Sep 29, 2025 1:40pm

Copy link
Contributor

@sohyun0 sohyun0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!
코멘트 확인부탁드립니다 :)

폴더구조를 src/components/layout/frame/frame.tsx 으로 가져가면 좋을것 같습니다!
-> ui 보다는 레이아웃의 성격이 조금더 강해서 추천드립니다.
-> frame.tsx 파일 한개만 있는데 너무 과한 폴더구조가 발생되어서 이것때문에 카테고리별 분류를 조금 우려했던건데 일단 해당 컨벤션으로 작성 부탁드립니다! (추후 수정을하는 방향으로 가봐요)

Comment on lines +18 to +19
<button
onClick={() => router.push(`/${address}`)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어느 페이지로 이동하는거면 Next 컴포넌트의 Link 를 사용하는것도 좋은 방법일것 같습니다.
또한 네이밍도 address 는 일반 주소를 의미하는 뜻이 강해 navigate / route / href 와 같은 패스형태의 네이밍도 추천드립니다 :)

<h2 className='text-sm font-normal text-black tablet:text-base'>{content}</h2>
<button
onClick={() => router.push(`/${address}`)}
className='rounded-md bg-[#ea3c12] px-5 py-[10px] text-sm font-bold text-white tablet:px-[136px] tablet:py-[14px] tablet:text-base'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

버튼 스타일은 추후 신천님께서 버튼 컴포넌트 제작하면 리팩토링 하셔도 좋을것 같습니다.
또한 #EA3C12 컬러는 팔레트에 없던 컬러여서 미쳐 못봤었는데 이것도 red-500으로 컨피그 넣어놓겠습니다 :)

@BaeZzi813
Copy link
Contributor Author

리뷰 감사합니다~ 말씀하신대로 폴더 옮겨놓고 Link 수정 후 다시 PR 올리면 될까요~?

@sohyun0
Copy link
Contributor

sohyun0 commented Sep 29, 2025

리뷰 감사합니다~ 말씀하신대로 폴더 옮겨놓고 Link 수정 후 다시 PR 올리면 될까요~?
넵 수정후 그냥 Push 만 하셔도 돼고 다음 pr 로 올리실거면 리뷰 승인으로 변경해둘게요 ! 어떤게 편하세요 ?

@sohyun0 sohyun0 assigned sohyun0 and BaeZzi813 and unassigned sohyun0 Sep 29, 2025
@sohyun0 sohyun0 self-requested a review September 29, 2025 16:12
@sohyun0 sohyun0 merged commit c59ad4a into codeit-FE18-part3:develop Sep 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants